package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.User;

import java.util.List;

public interface UserControlService {
    public void add(User user);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString) throws Exception;

    void delete(Integer id);

    User findById(Integer id);

    void edit(User user);

    List<User> findAll();
}
